"
I am the default layout for objects.

I contain a fixed number of Slots.
Instances of classes using this kind of layout have always the same size.
"
Class {
	#name : 'FixedLayout',
	#superclass : 'PointerLayout',
	#category : 'Kernel-CodeModel-Layout',
	#package : 'Kernel-CodeModel',
	#tag : 'Layout'
}

{ #category : 'instance creation' }
FixedLayout class >> extending: superLayout scope: aScope host: aClass [
	^ (superLayout extend: aScope)
		host: aClass;
		yourself
]

{ #category : 'format' }
FixedLayout >> instanceSpecification [
	^ self hasFields
		ifTrue: [ 1 ]
		ifFalse: [ 0 ]
]

{ #category : 'testing' }
FixedLayout >> isFixedLayout [
	^true
]
